//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package study.IO.字符流.Writer;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

public class BufferedWriter_demo {
    public BufferedWriter_demo() {
    }

    public static void main(String[] args) throws IOException {
        BufferedWriter bw = new BufferedWriter(new FileWriter("JavaTest\\Files\\a.txt", true));
        bw.write("这是第一条数据");
        bw.newLine();
        bw.write("这是第二条数据");
        bw.newLine();
        bw.close();
    }
}
